package com.legendshop.openportal.sdk.model.request;

import com.legendshop.openportal.sdk.model.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

import static com.legendshop.openportal.sdk.model.constants.ApiPathConstants.GET_PRODUCT_TEMPLATE;

/**
 * 提交虚拟商品订单
 *
 */
@Data
@ApiModel("提交虚拟商品订单请求")
public class ProductTemplateRequest extends BaseRequest {


    /**
     * 非空：是
     * 商品ID不能为空
     */
    @ApiModelProperty("商品ID不能为空")
    @NotNull(message = "商品ID不能为空")
    private Long prodId;





    @Override
    @ApiModelProperty(hidden = true)
    public String getApiPath() {
        return GET_PRODUCT_TEMPLATE;
    }




}
